<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button type="button" id="btn">点击</button>
		<script src="js/jquery-3.4.1.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				$("#btn").dblclick(function(){
					console.log("双击事件");
				});
				$("#btn").click(function(){
					console.log("被点击了");
				});
				$("#btn").hover(function(){
					console.log("鼠标移入了");
				},function(){
					console.log("鼠标离开了");
				});
			});
		</script>
	</body>
</html>
